#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:6031)
#include <stdio.h>

int main() {
    int n = 0;
    double money = 0;
    int arr[10] = { 0 };
    scanf("%d", &n);
    for (int i = 0; i < n; i++)
    {
        scanf("%d", &arr[i]);
        if (arr[i] > 60)
        {
            money =money+ 0.1;
        }
    }
    money = money + n * 0.1;
    printf("%lf\n", money);
    return 0;
}